package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.utils.date.DateHelper;

/**
 * @Description 海上争霸 每轮结束船只数据
 */
@FieldTypeAnnotation(tableName = "t_l_ck_activity_peakseacraft_round_ship_log", desc = "巅峰海上争霸-每轮结束时船只数据", autoSave = true, uploadCk = true, isCross = true)
public class LogPeakSeacraftRoundShip extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "商会id")
    private String unionId;
    @FieldTypeAnnotation(desc = "轮次 ")
    private int round;
    @FieldTypeAnnotation(desc = "海域 ")
    private int area;
    @FieldTypeAnnotation(desc = "分组")
    private int groupNum;
    @FieldTypeAnnotation(desc = "组内排名")
    private int groupRank;
    @FieldTypeAnnotation(desc = "船只等级")
    private int lv;
    @FieldTypeAnnotation(desc = "行驶路程")
    private long distance;
    @FieldTypeAnnotation(desc = "船只总耐久")
    private long totalDurable;
    @FieldTypeAnnotation(desc = "船只到达时间")
    private long arrivalTime;

    public LogPeakSeacraftRoundShip(int activityId, String unionId, int round, int area, int group, int lv, long distance, long totalDurable, long arrivalTime, int groupRank) {
        this.activityId = activityId;
        this.unionId = unionId;
        this.round = round;
        this.area = area;
        this.groupNum = group;
        this.lv = lv;
        this.distance = distance;
        this.totalDurable = totalDurable;
        this.arrivalTime = arrivalTime;
        this.groupRank = groupRank;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public int getRound() {
        return round;
    }

    public void setRound(int round) {
        this.round = round;
    }

    public int getLv() {
        return lv;
    }

    public void setLv(int lv) {
        this.lv = lv;
    }

    public long getDistance() {
        return distance;
    }

    public void setDistance(long distance) {
        this.distance = distance;
    }

    public long getTotalDurable() {
        return totalDurable;
    }

    public void setTotalDurable(long totalDurable) {
        this.totalDurable = totalDurable;
    }

    public long getArrivalTime() {
        return arrivalTime;
    }

    public int getArea() {
        return area;
    }

    public void setArea(int area) {
        this.area = area;
    }

    public int getGroupNum() {
        return groupNum;
    }

    public void setGroupNum(int groupNum) {
        this.groupNum = groupNum;
    }

    public int getGroupRank() {
        return groupRank;
    }

    public void setGroupRank(int groupRank) {
        this.groupRank = groupRank;
    }

    public void setArrivalTime(long arrivalTime) {
        this.arrivalTime = arrivalTime;
    }

    @Override
    public long getUserId() {
        return 0;
    }
}
